import json


def build_data():
    with open("./data.json", 'r', encoding='utf-8') as f:
        data = json.load(f)
        tuple_data=[]
        for item in data:
            tuple_data.append((item.get("username"),item.get("password"),item.get("code"),item.get("message")))
    return tuple_data

